package com.sgb.kjwl.model.entity.manage;

import com.contrarywind.interfaces.IPickerViewData;

import java.io.Serializable;
import java.util.List;

public class CompanyAndDeptEntity implements Serializable , IPickerViewData {

    private String parentName;
    private String comNo;
    private String userNo;
    private String name;//部门名称
    private List<String> parentIds;
    private String count;
    private String Identification;
    private String id;//部门Id
    private int sort;
    private int type;
    private String parentId;


    private List<String> managerNo;

    private int holidayType;
    private String identification;
    private List<CompanyAndDeptEntity> children;

    private List<String> contacts;

    private boolean isChoose;//非服务器字段， 用于保存item的状态

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getComNo() {
        return comNo;
    }

    public void setComNo(String comNo) {
        this.comNo = comNo;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getParentIds() {
        return parentIds;
    }

    public void setParentIds(List<String> parentIds) {
        this.parentIds = parentIds;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getIdentification() {
        return Identification;
    }

    public void setIdentification(String identification) {
        Identification = identification;
    }

    public List<CompanyAndDeptEntity> getChildren() {
        return children;
    }

    public void setChildren(List<CompanyAndDeptEntity> children) {
        this.children = children;
    }

    public List<String> getContacts() {
        return contacts;
    }

    public void setContacts(List<String> contacts) {
        this.contacts = contacts;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<String> getManagerNo() {
        return managerNo;
    }

    public void setManagerNo(List<String> managerNo) {
        this.managerNo = managerNo;
    }

    public int getHolidayType() {
        return holidayType;
    }

    public void setHolidayType(int holidayType) {
        this.holidayType = holidayType;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
